package com.cdks.wuxiu.api.service.mysql;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdks.wuxiu.entity.mysql.RechargeOrderInfo;

/**
 * 订单信息表 服务类
 */
public interface RechargeOrderInfoService extends IService<RechargeOrderInfo> {
    RechargeOrderInfo getByOrderNo(String orderNo);
    RechargeOrderInfo getByThirdNo(String thirdNo);
    RechargeOrderInfo getByPriceIdWithStatus(String priceId, int status);
    RechargeOrderInfo getByOrderNoWithStatus(String orderNo, int status);

    int updateByStatus(RechargeOrderInfo order, int status);

    List<RechargeOrderInfo> getRecord(long userId, int page, long start, long stop);
}
